home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / boot / Mult64Patch.readme < prev    next >
Encoding:
Text File  |  1998-10-31  |  3.6 KB  |  90 lines

  1. Short:    060 Patches for UMult64/SMult64 V1.3
  2. Author:   kakace@aix.pacwan.net (Didier Levet), dbusse@metronet.de (Dirk Busse)
  3. Uploader: dbusse@metronet.de (Dirk Busse)
  4. Type:     util/boot
  5.  
  6.  
  7.    This is a small patch which replace the UMult64
  8.    and SMult64 functions of utility.library V39+.
  9.    
  10.    These new functions are 2 times faster than the
  11.    ones placed by 68060.library, and 4 times faster
  12.    than the Trap emulation.
  13.    
  14.    Well, these functions are not often used, so
  15.    don't expect an incredible speedup :))
  16.    You can run Mult64SpeedTest (included) to see the
  17.    benchmarks.
  18.    
  19.    I just write them to learn how to optimize 68060's
  20.    code (sources included). So don't blame me if you
  21.    think that the speed gain is useless ;-)
  22.    
  23.    Now, you only have to copy PatchMult64 in your
  24.    "C:" directory, and add "C:PatchMult64" in your 
  25.    startup-sequence, right after Setpatch (or anywhere 
  26.    else, but not before).
  27.    PatchMult64 sets the return code as follow :
  28.    - 0  : Patches succesfully installed.
  29.    - 5  : Patches already installed
  30.        or Patches installed, but you have only a 68040 (see comment to V1.2)
  31.    - 10 : Unable to install the patches.
  32.  
  33.   That's all !
  34.  
  35.   With the program "Mult64SpeedTest" you could see the times of the
  36.   functions currently used by your AMIGA.
  37.  
  38.  
  39. History:
  40.  
  41.    1.0 Original Version from Didier Levet
  42.  
  43.    1.1 - Source Code changed for using PhxAss (the best Assembler I know!)
  44.        - Speed Improvement: UMult64 5.6% faster than V1.0
  45.                             SMult64 3.6% faster than V1.0
  46.        - Removed the check for a loaded 68060.library, the Patches needn't
  47.          the 68060.library and the check for a 68060 CPU is sufficient.
  48.  
  49.    1.2 (The patches itself aren't changed. They are the same as V1.1. Only
  50.        the installation routine is changed.)
  51.        - Fixed the detection of the 68060 CPU (It was testing the wrong
  52.          byte).
  53.        - Now it is possible to install the patch, without the 68060.library.
  54.          So you could start PatchMult64 befor SetPatch (NOT recommend).
  55.          (If you use the 68060.library V1.9 (05.09.96) from Ralph Babel, you
  56.           have to dissable the 68060.library to use ReOrg 3.11 with large
  57.           option files. Otherwise ReOrg crashes because a bug in Ralph
  58.           Babels 68060.library.)
  59.          Without a 68060.library the AMIGA thinks it has only a 68040 CPU.
  60.          So if PatchMult64 finds only a 68040 CPU, it installs the Patches
  61.          and quits with a return code of 5 (=warn).
  62.          So now you could also install the patches on a 68040 AMIGA. BUT
  63.          DON'T DO THAT. On a 68040 CPU the patches slows down the UMult64
  64.          and SMult64 functions.
  65.          PatchMult64 is still ONLY useful on a 68060 AMIGA.
  66.  
  67.    1.3 - Speeded up SMult64 2% if the result is negative.
  68.          Thanks to dave <dt14@uow.edu.au> for the hint.
  69.        - Cleaned the code to be smaler.
  70.        - Removed the old SpeedTest from the archive and included the new
  71.          Mult64SpeedTest.
  72.  
  73. -------------------------
  74.     Dirk Busse
  75. <dbusse@primus-online.de>
  76.  
  77.  
  78. ============================= Archive contents =============================
  79.  
  80. Original  Packed Ratio    Date     Time    Name
  81. -------- ------- ----- --------- --------  -------------
  82.     3063    1392 54.5% 26-Sep-98 15:18:36  Mult64Patch.readme
  83.      824     482 41.5% 26-Sep-98 14:18:38  Mult64SpeedTest
  84.     5152    1063 79.3% 26-Sep-98 14:26:42  Mult64SpeedTest.s
  85.      476     416 12.6% 26-Sep-98 14:35:26  PatchMult64
  86.     3319    1032 68.9% 26-Sep-98 12:45:16  PatchMult64.s
  87.     8559    1650 80.7% 26-Sep-98 14:25:42  UMult_SMult_060.s
  88. -------- ------- ----- --------- --------
  89.    21393    6035 71.7% 26-Sep-98 20:02:54   6 files
  90.